/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tds;

import java.io.PrintStream;

/**
 *
 * @author cwhitela
 */
public abstract class Log {

	private static PrintStream outputStream = System.out;
	private static PrintStream errStream = System.err;

	public static void setOutputStream(PrintStream os)
	{
		outputStream = os;
	}

	public static void setErrStream(PrintStream os)
	{
		errStream = os;
	}

	public static void log(String s)
	{
		outputStream.println(s);
	}

	public static void logErr (String s)
	{
		errStream.println(s);
	}


}
